package com.prs.crm.domain.cqunicom;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;

/**
 * @author LanXiaoGang
 * @E-mail:lan9liang@163.com
 * @qq:7857553326
 * @version 创建时间：2011-3-14 下午03:53:10 简单说明 订单对账
 */
@Entity
@Table(name = "cq_OrderReconciliation")
public class OrderReconciliation extends BaseEntity {

	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	/**
	 * 公司名称
	 */
	@ManyToOne
	private Company companyy;
	/**
	 * 交易金额
	 */

	private Double dealPrice;
	/**
	 * 是否有问题
	 */
	private String havaProplem;
	/**
	 * 开始时间
	 */
	private Date startTime;
	/**
	 * 结束时间
	 */
	private Date endTime;
	/**
	 * 是否回执
	 */
	private String backInf;
	/**
	 * 发送时间
	 */
	private Date sendTime;
	/**
	 * 统计金额
	 */
	private Double totlePrice;
	/**
	 * 商家金额
	 */
	private Double bunisePrice;
	/**
	 * 管理员备注
	 */
	@Lob
	private String mangeRemark;

	/**
	 * 备注
	 */

	@Lob
	private String remarks;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Company getCompanyy() {
		return companyy;
	}

	public void setCompanyy(Company companyy) {
		this.companyy = companyy;
	}

	public Double getDealPrice() {
		return dealPrice;
	}

	public void setDealPrice(Double dealPrice) {
		this.dealPrice = dealPrice;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public String getBackInf() {
		return backInf;
	}

	public void setBackInf(String backInf) {
		this.backInf = backInf;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public Double getTotlePrice() {
		return totlePrice;
	}

	public void setTotlePrice(Double totlePrice) {
		this.totlePrice = totlePrice;
	}

	public Double getBunisePrice() {
		return bunisePrice;
	}

	public void setBunisePrice(Double bunisePrice) {
		this.bunisePrice = bunisePrice;
	}

	public String getMangeRemark() {
		return mangeRemark;
	}

	public void setMangeRemark(String mangeRemark) {
		this.mangeRemark = mangeRemark;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getHavaProplem() {
		return havaProplem;
	}

	public void setHavaProplem(String havaProplem) {
		this.havaProplem = havaProplem;
	}

}
